Welcome![Sign In][Sign Up]
Location:
Search - http class

Search list

[Web Server用Java实现Web服务器

Description: 用Java实现Web服务器 本文实现了GET请求的Web服务器程序的方法,通过创建ServerSocket类对象,监听端口8080; 等待、接受客户机连接到端口8080; 创建与socket字相关联的输入流和输出流 然后,读取客户机的请求信息,若请求类型是GET,则从请求信息中获取所访问的HTML文件名,如果HTML文件存在,则打开HTML文件,把HTTP头信息和HTML文件内容通过socket传回给Web浏览器,然后关闭文件。否则发送错误信息给Web浏览器。最后,关闭与相应Web浏览器连接的socket字。-Java Web server is to achieve a GET request to the Web server, through the creation of ServerSocket class object, bugging port 8080; Wait, a client is connected to port 8080; Socket character creation and the associated input and output streams flow then read the client's request information, if the request is the type of GET, request information from being accessed visit HTML document, and if the HTML document exists, then open the HTML file, HTTP headers and HTML files through the socket sent back to the Web browser and then close the file. Otherwise, send the wrong message to the Web browser. Finally, the closing and the corresponding Web browser connected to the socket word.
Platform: | Size: 10425 | Author: 雨岳 | Hits:

[JSP/JavaJSPtalk

Description: JSP留言板以上程序在Win2k Server+Mysql+Resin+J2sdk下面通过。 把lyb的文件夹拷贝到你的虚拟目录。 把chclyb文件夹拷贝到X:\\mysql\\data\\下面。 把class_lyb拷贝到Class文件夹下面,同时改名为lyb 运行http://127.0.0.1:8080/lyb/-JSP message board above procedures in Win2k Server Mysql + + + Resin credentials following through. Put lyb copy the folder to your virtual directory. Put chclyb copy of the folder X : \\ mysql \\ data \\ below. Put class_lyb copy of the Class folder below, renamed lyb running http://127.0.0.1:8080/lyb/
Platform: | Size: 143215 | Author: huanglong | Hits:

[JSP/Javazjnews

Description: 1.解压缩 (如解压缩到虚拟目录下) 2.将web-inf内的class文件放入适当的位置 3.建数据源,名称为sts 4.打开你的服务器,可以测试了 (如:http://localhost:8080/sts ) 7.提出Bug -->E-mail:litianquan@tom.com 8.提醒您:不要忘记把web-inf文件夹的内容放到相应的位置呀 resin默认放到doc下 -1. Decompress (such as decompression of virtual directory) 2. Will web-inf documents within the class Add the appropriate position 3. production data sources, to name four sts. open your server can be tested (for example : http://localhost:8080/sts) 7. proposed Bug
Platform: | Size: 31522 | Author: wyw0818 | Hits:

[WEB CodedomainQuery

Description: 网上的域名查询系统,大都是基于ASP ASP.NET 和php的,其实用JSP也可以轻松实现! 闲来无事儿,就用JSP做了一个! 是基于AJAX技术的,用DWR实现的AJAX 特别感谢:http://www.checkdomain.com 提供查询资源! 里边还有一个aqu.jar包,那个是我的工具包!呵呵,里边有我的一些常用的方法和收集韦来的一些md5 aes des base64 rsa .....等加密类!其中 com.v246.utils.io.Path类,可以根据一个.class类文件而确定该文件在系统中的绝对路径!这个在JSP开发中很实用,呵呵!com.v246.utils.servlet.filter.ManagerFilter 是一个用于安全过滤的类!比如JSP开发中的管理员登陆,用户登陆等的安全控制,可以指定对哪些文件过滤,哪些文件不过滤! com.v246.utils.servlet.filter.EncodingFilter 和上面的那个差不多,只不过这个是用于编码过滤的!可以指定过滤的编码,在JSP开发中常常要进行编码转换,有了这个FILTER,就轻松多了!。。。。。 还有其它好多,就不细说了!
Platform: | Size: 247775 | Author: 古刹飞鹰 | Hits:

[ToolBarTray__Icon

Description: // This a conglomeration of ideas from the MSJ \"Webster\" application, // sniffing round the online docs, and from other implementations such // as PJ Naughter s \"CTrayIconifyIcon\" (http://indigo.ie/~pjn/ntray.html) // especially the \"CTrayIcon::OnTrayNotification\" member function. // // This class is a light wrapper around the windows system tray stuff. It // adds an icon to the system tray with the specified ToolTip text and // callback notification value, which is sent back to the Parent window. // // The tray icon can be instantiated using either the constructor or by // declaring the object and creating (and displaying) it later on in the // program. eg.-/ / This a conglomeration of ideas from th e short version MSJ "Webster" application. / / sniffing round the online docs, and from other implementations such / / as PJ Nau ghter s "CTrayIconifyIcon" (http : / / indigo.ie / ~ pjn / ntray.html) / / especially the "CTrayIcon : : OnTrayNotification "member function. / / / / Th is class is a light wrapper around the windows sy stem tray stuff. It / / adds an icon to the system t ray ToolTip with the specified text and / / callB Ack notification value, which is sent back to the Parent window. / / / / The tray icon can be instantiated using either the c onstructor or by / / declaring the object and cre ating (and displaying) it later on in the / / prog ram. eg.
Platform: | Size: 3998 | Author: wreqreqw | Hits:

[Video Capturevideosav_src

Description: The Videosav demo supplied, is a modified version of the DirectX.Capture class example written by Brian Low. This example can be found at: http://www.codeproject.com/cs/media/directxcapture.asp The Videosav demo should be usable right away. -demo supplied, is a modified version of the DirectX.Capture cl ass example written by Brian Low. This example c an be found at : http : / / www.codeproject.com / cs / media / directxca The Videosav pture.asp demo should be usable ri 86-108 away.
Platform: | Size: 13350 | Author: 玩一玩 | Hits:

[Web Serverjsp-chapter5

Description: 本实例是一个由JSP实现的网上购物系统。本实例实现了基本的登录验证、查询商品、分页处理、购物车处理以及订单处理功能。程序安装方法是: 第一步:将cart.jsp复制到C:\\Apache Tomcat 4.0\\webapps\\ROOT下。 第二步:将cart目录(包含*.class文件及*.java文件)复制到C:\\Apache Tomcat 4.0\\common\\classes目录中。 第三步:将cart.mdb复制到C:\\下。 第四步:配制ODBC数据源,在系统DNS中添加cart.mdb,并命名为cart。 然后在浏览器中输入http://localhost:8080/cart.jsp测试-examples of this is a JSP-line shopping system. The examples of the basic implementation of login verification, inquiries goods, tab, Cart handling and order processing functions. Installation is as follows : the first step : cart.jsp copied to C : \\ Apache Tomcat 4.0 \\ webapps \\ ROOT under. Second step : cart directory (*. class contains documents and *. java) copied to C : \\ Apache Tomcat 4.0 \\ common \\ classes directory. Third step : cart.mdb copied to C : \\ under. The fourth step : preparation ODBC data sources, the DNS system cart.mdb added, and named for the cart. Then in a browser importation http://localhost:8080/cart.jsp test
Platform: | Size: 5917 | Author: 浦嘉琪 | Hits:

[JSP/JavaWebtest(jsp)

Description: 用jsp编写的网上测试系统。 (1)以“Windows身份验证模式”连接SQL Server数据库。 (2)需要安装SQL Server 的补丁SP3。 (3)运行的时候可以参照书上的说明进行,如出试卷的时候,若试卷标题重复,可以从数据库中删除,然后添加试卷。 (4)出试卷路径为 http://localhost:8080/chap22/chujuan.jsp 如果放在根目录,则路径和书上的界面一样。 (5)选择题路径为 http://localhost:8080/chap22/xuanzeti.jsp (6)判断题路径为 http://localhost:8080/chap22/panduanti.jsp (7)如果采用本应用中连接数据库的方法调试不通,可以参照20章中通过ODBC连接数据库的方法来修改 将以下代码: Class.forName(\"com.microsoft.jdbc.sqlserver.SQLServerDriver\") String driver = \"jdbc:microsoft:sqlserver://localhost:1433\" Connection conn = DriverManager.getConnection(driver,\"\",\"\") 修改成: Class.forName(\"sun.jdbc.odbc.JdbcOdbcDriver\") String driver = \"jdbc:odbc:try\" Connection conn = DriverManager.getConnection(driver,\"sa\",\"\") //如果是windows验证,则不用用户名和密码 -jsp prepared using online testing system. (1) "Windows authentication model" to SQL Server databases. (2) the need to install SQL Server SP3 patches. (3) Run the reference book can be a description, such as out of the papers, if the papers title repeat can deleted from the database, then add the papers. (4) The path to http://localhost papers : 8080/chap22/chujuan.jsp If on the root directory. while trails and a book on the same interface. (5) multiple-choice path to http://localhost : 8080/chap22/xuanzeti.jsp (6) judgment that path at http : / / localhost : 8080/chap22/panduanti.jsp (7) If the application using the data link the method of debugging sense, can refer to Chapter 20 through ODBC to connect to the database approach to the revision of the following codes : JDBC ( &quo
Platform: | Size: 11861 | Author: fly | Hits:

[Web ServerhtmlSQL

Description: htmlSQL是一个是你可以方便的对HTML和XML内容方便的使用类似SQL语句进行检索的PHP类.也就是说有了它,你不必再去写复杂的函数(正则表达式那类的)来获取特殊的值了. 用htmlSQL查询的方法的例子: SELECT href,title FROM a WHERE $class == \"list\" ^ ^ ^ 搜索查询 (可以为空) 待返回的属性 ^ ^ 需要搜索的HTML标签 允许使用\"*\"(= 所有标签) 这个查询返回一个包括所有带有有class=\"list\"属性的超链接的数组. 在htmlSQL里的所有的网页转换用的都是这个卓越的类--Snoopy(版本号 1.2.3 - URL: http://snoopy.sourceforge.net/). Snoopy只用于文件或者字符串查询,其他时候都不适用. 你可以在文件夹snoopy_data/下找到所有Snoopy相关的文档 (版权声明, 说明文档等等).-htmlSQL is one that you can facilitate the right HTML and XML content to facilitate the use of similar S QL statement retrieval of PHP classes. In other words With it, You do not go to write complex function (regular expression of type) to obtain a special value. Inquiries with htmlSQL the examples : SELECT href. FROM WHERE title a $ class == "list" ^ ^ ^ search query (for Air) to be returned to the need to attribute ^ ^ search HTML "*"(= labels allow the use of all labels) back to this inquiry back with an all have class = "list" hyperlink attributes of the array. In htmlSQL Lane all the website is the conversion of the outstanding Class -- Snoopy (version 1.2.3 - URL : http : / / snoopy.sourceforge.net /). Snoopy used only for documents or String inquiries,
Platform: | Size: 28145 | Author: ck | Hits:

[Ftp Clientxiazaidemo

Description: class to download files from the net 示例,类名叫做CWebGrab,其用法可以参看http://www.codeproject.com/internet/webgrab.asp-class to download files from the net example, Class name is CWebGrab, its usage can see http : / / www.codeproject.com / internet / webgrab.a sp
Platform: | Size: 25592 | Author: 班班 | Hits:

[CSharpMyBrowsers

Description: 这是一个通过MFC WinInet类实现的HTTP客户程序-through MFC WinInet Class Implementation of the HTTP client program
Platform: | Size: 45715 | Author: 蔡海 | Hits:

[Other resourceP2PDemo

Description: 这个是演示采用UDP协议进行P2P打洞对话原理的演示程序,参考的资料是: 1)P2P 之 UDP穿透NAT的原理与实现(附源代码)--http://www.cnpaf.net/Class/hack/0512182034513804825.htm 2)王艳平<<Windows网络与通信程序设计>>-This is a demonstration of using UDP protocol for peer-to-peer principle of dialogue burrows Demonstration Program, the source of information is : a) P2P UDP penetrate NAT's Theory and Implementation (source code) -- http : / / www.cnpaf.net/Class/hack/0512182034513 804825.htm 2) Wang Ping
Platform: | Size: 30083 | Author: xiaoyan | Hits:

[Internet-NetworkVirtualWall

Description: /* * 程序名称:VirtualWall防盗链专家Asp.Net配置插件(类库版) * 程序版本:Beta 0.1 * 开发工具:Microsoft Visual Studio 2005 * 开发人员:Szmix_Willa * 版权所有:深圳混音俱乐部 * 授权使用:VirtualWall防盗链专家 * 官方网站:http://www.szmix.com/ * 授权网站:http://www.fangdaolian.com/ * 使用方法:版本未完整,需进一步开发。在资源页使用VsidAspDotNet.GetVsid()方法即可。如需制作请联系QQ:7421021 */-/ * * procedure name : VirtualWall defense experts Asp.Net Daolian configuration plugin (Class version) * version : Beta 0.1 * Development tools : Microsoft Visual Studio 2005 * Development Officers : Szmix_Willa * Copyright : Shenzhen Mixing Club * authorize the use of : VirtualWall defense experts Daolian * official website : http : / / www.szmix.com/ * Website : http : / / www.fangdaolian.com/ * Use : incomplete version. need further development. In the use of resources page VsidAspDotNet.GetVsid () method can be. For the production of contact QQ : 7421021 * /
Platform: | Size: 3680 | Author: 7421021 | Hits:

[Web ServerHS_HTTP_SVR

Description: 本程序是通过MFC CAsyncSocket类实现的一个多线程HTTP服务器,它支持CGI和ISAPI。-this procedure is adopted MFC CAsyncSocket Class Implementation of a multithreaded HTTP service , with support for CGI and ISAPI.
Platform: | Size: 239407 | Author: 侯爽 | Hits:

[ASPCleara

Description: <%@ LANGUAGE=\"VBSCRIPT\" %> <!--#include file=\"util.asp\" --> <% Head=\"您放入购物车的物品已经全数退回!\" Session(\"ProductList\") = \"\" %> <html> <head> <meta http-equiv=\"Content-Type\" content=\"text/html charset=gb2312\"> <STYLE type=text/css>.main { FONT-SIZE: 9pt } .main1 { FONT-SIZE: 14px } </STYLE> <title>清空购物车</title> </head> <body topmargin=\"5\" bgcolor=\"#E6E4C4\"> <diiv align=\"center\"><center> <table width=\"100%\" border=\"0\" class=\"table1\" bordercolor=\"#62ACFF\" cellspacing=\"0\" class=main1> <tr> <td width=\"80%\" valign=\"top\"> <p align=\"center\" class=main1><%=Head%></p> <p align=\"center\"> <br><input type=\"button\" value=\"关闭\" name=\"B2\" onclick=\"window.close() \" style=\"font-size: 9pt\"></td> </tr> </table> </center></div> </body> </html> -\">
We ll use your suggestion to improve translation quality in future updates to our system.
Platform: | Size: 909 | Author: 金立犇 | Hits:

[JSP/Javatongxuelu(jsp+javabean)

Description: 一个简单的同学录系统,有增、删、修改、查询、分页功能,非常适合JSP的初学者。 编程环境:MyEclipse+Access+Tomcat5.5 文件列表: index.jsp-------------------首页文件模块 add_new.jsp-----------------增加记录模块 modify.jsp------------------修改记录模块 del.jsp---------------------删除记录模块 save.jsp--------------------保存记录模块 search.jsp------------------查找记录模块 in.jsp----------------------导入常用的类模块 src\\ConDb.java--------------连接数据库的JavaBean 数据库文件:TXL.mdb 安装运行:解压后放入Tomcat\\webapps 配置数据源:控制面板--->数据源ODBC---->系统DNS---->添加----->Driver do Micrsoft Access(*.mdb) ---->数据源名称:class---->选择数据库文件所在目录 在浏览器下输入:http://localhost:8080/txl
Platform: | Size: 23598 | Author: lanxin | Hits:

[JSP/Javachapter4

Description: JAVA项目开发实践-网上范例:网上购物系统的JSP实现 第一步:将cart.jsp复制到C:\\Apache Tomcat 4.0\\webapps\\ROOT下。 第二步:将cart目录(包含*.class文件及*.java文件)复制到C:\\Apache Tomcat 4.0\\common\\classes目录中。 第三步:将cart.mdb复制到C:\\下。 第四步:配制ODBC数据源,在系统DNS中添加cart.mdb,并命名为cart。 然后在浏览器中输入http://localhost:8080/cart.jsp测试,如果看到如图6-2所示的画面,则证明安装成功。
Platform: | Size: 54573 | Author: 董小园 | Hits:

[Internet-Networkpoco-1.2.5.tar

Description: C++ class libraries for network-centric, portable applications, integrated perfectly with the C++ Standard Library. Includes network protocols (Sockets, HTTP, FTP, SMTP, POP3, etc.) and an XML parser. Licensed under Boost license.
Platform: | Size: 1147972 | Author: chf | Hits:

[WEB Codeju

Description: 使用前要先将“运行需要的文件”- DataBase 附加到企业管理器中。 系统基本参数 1、主页地址:http://localhost:8080/tech/default.htm 默认登录用户 manager 密码123456 2、注册时请指定密码为:注册密码必须是“036999”,才能注册成功,否则会提示“注册未认可”(明白JSP的 可以自行修改 工程源码) 3、程序里面设定的SQL Server数据库登录用户名是:sa,密码为空,如果为sa用户设置了密码,请修改源代码\\修改需要的源文件[Eclipse]\\tech\\jdbc\\jdbc.java中的数据库连接代码,然后重新编译这个类,编译后把编译成的class,复制到Tomcat的webapps目录下的tech\\WEB-INF\\classes\\jdbc 程序采用 传统 MVC 模式架构
Platform: | Size: 600609 | Author: 梦梦 | Hits:

[OS programhttpdownloaddlg_xd

Description: The class implements an MFC CDialog derived class which performs HTTP downloads similar to the Internet Explorer 利用HTTP协议下载的类(43KB)
Platform: | Size: 43737 | Author: 张祥 | Hits:
« 1 2 3 4 56 7 8 9 10 ... 20 »